<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/jsp/includeTaglib.jsp"%>
<table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
    <tr class="rowHead">
        <td height="20" nowrap align="center" class="globalTextBold"></td>
        <td height="20" nowrap align="center" class="globalTextBold">项目</td>
        <td height="20" nowrap align="center" class="globalTextBold">终端信息</td>
        <td height="20" nowrap align="center" class="globalTextBold">提交人</td>
        <td height="20" nowrap align="center" class="globalTextBold">提交日期</td>
        <td height="20" nowrap align="center" class="globalTextBold">操作</td>
    </tr>
    <c:forEach var="usr" items="${page.data}" varStatus="status">
        <tr class="rowClass">
            <td height="20" class="globalText"><c:choose><c:when test="${usr.gpsSyncStatus=='sync_done'}">已同步</c:when><c:when test="${usr.gpsSyncStatus=='sync_obsolete'}">已废弃</c:when></c:choose></td>
            <td height="20" class="globalText">${usr.projectName}</td>
            <td height="20" class="globalText">${usr.planJobResult.channel.channel.name}</td>
            <td height="20" class="globalText">${usr.empName}</td>
            <td height="20" class="globalText"><fmt:formatDate value="${usr.finishedAt}" pattern="yyyy-MM-dd"/></td>
            <td height="20" class="globalText">
                <input type="button" class="btnStyle" value="查看" onclick="javascript:showStoreMap(${usr.id},${usr.latitude},${usr.longitude},${usr.planJobResult.channel.latitude==null?0:usr.planJobResult.channel.latitude},${usr.planJobResult.channel.longitude==null?0:usr.planJobResult.channel.longitude})" />
            </td>
        </tr>
    </c:forEach>
</table>
<%@ include file="/WEB-INF/jsp/includePagination.jsp"%>
